package com.mindainfo.groundwave.common.api.equipment.service;

import com.mindainfo.groundwave.common.api.equipment.param.RelayParam;
import com.mindainfo.groundwave.common.api.equipment.param.RelayQueryListParam;
import com.mindainfo.groundwave.common.api.equipment.vo.RelayQueryListVo;
import com.mindainfo.groundwave.common.api.equipment.vo.RelayVo;
import com.mindainfo.groundwave.common.bean.CommonResult;
import com.mindainfo.groundwave.common.bean.TableData;

/**
 * Created by MD-01 on 2017/7/5.
 */
public interface IRelayService {

    /**
     * 页面查询列表
     */
    CommonResult<TableData<RelayVo.QueryListVo>> queryList(RelayParam.QueryListParam param);

    /**
     * 添加设备
     */
    CommonResult<Void> add(RelayParam.AddParam param);

    /**
     * 修改设备信息
     */
    CommonResult<Void> modify(RelayParam.ModifyParam param);

    /**
     * 添加/修改 安装信息
     */
    CommonResult<Void> install(RelayParam.InstallParam param);
}
